package com.dongdongsongcan.app.control.bean;

import java.io.Serializable;
import java.util.List;

import com.dongdongsongcan.app.model.api.ApiUrl;
import com.su.dolphin.control.bean.BaseBean;

public class ShopData extends BaseBean {
    // "shop_id": "166",
    // "shop_dispatch_price": "69.00",
    // "shop_addprice": "6",
    // "shop_linktel": "80777222",
    // "opentime": 2,
    // "shop_name": "俊龙大酒店（福州南路）",
    // "shop_intro": "",
    // "shop_address": "青岛市市南区漳浦路16号",
    // "shop_pic_small": "/upload/attatch/1/俊龙_1418641625.jpg"


    private List<Shop> result;

    public List<Shop> getResult() {
        return result;
    }

    public void setResult(List<Shop> result) {
        this.result = result;
    }


    public class Shop implements Serializable {
        private int shop_id;
        private float shop_dispatch_price;
        private float shop_addprice;
        private String shop_linktel;
        private String shop_linkname;
        private String shop_maketime_10;
        private int shop_collect = -1; //1 收藏
        private int opentime;//1是营业 0未营业
        private String shop_name;
        private String shop_intro;
        private String shop_address;
        private String shop_pic_small;

        public String getShop_linkname() {
            return shop_linkname;
        }

        public void setShop_linkname(String shop_linkname) {
            this.shop_linkname = shop_linkname;
        }

        public String getShop_maketime_10() {
            return shop_maketime_10;
        }

        public void setShop_maketime_10(String shop_maketime_10) {
            this.shop_maketime_10 = shop_maketime_10;
        }

        public int getShop_collect() {
            return shop_collect;
        }

        public void setShop_collect(int shop_collect) {
            this.shop_collect = shop_collect;
        }

        public int getShop_id() {
            return shop_id;
        }

        public void setShop_id(int shop_id) {
            this.shop_id = shop_id;
        }

        public float getShop_dispatch_price() {
            return shop_dispatch_price;
        }

        public void setShop_dispatch_price(float shop_dispatch_price) {
            this.shop_dispatch_price = shop_dispatch_price;
        }

        public float getShop_addprice() {
            return shop_addprice;
        }

        public void setShop_addprice(float shop_addprice) {
            this.shop_addprice = shop_addprice;
        }

        public String getShop_linktel() {
            return shop_linktel;
        }

        public void setShop_linktel(String shop_linktel) {
            this.shop_linktel = shop_linktel;
        }

        public int getOpentime() {
            return opentime;
        }

        public String getShopStatus() {
            switch (opentime) {
                case 2:
                    return "营业中";
            }
            return "营业中";
        }

        public void setOpentime(int opentime) {
            this.opentime = opentime;
        }

        public String getShop_name() {
            return shop_name;
        }

        public void setShop_name(String shop_name) {
            this.shop_name = shop_name;
        }

        public String getShop_intro() {
            return shop_intro;
        }

        public void setShop_intro(String shop_intro) {
            this.shop_intro = shop_intro;
        }

        public String getShop_address() {
            return shop_address;
        }

        public void setShop_address(String shop_address) {
            this.shop_address = shop_address;
        }

        public String getShop_pic_small() {
            return shop_pic_small;
        }

        public void setShop_pic_small(String shop_pic_small) {
            this.shop_pic_small = shop_pic_small;
        }

    }
}
